Skip to content

Conversation

@NickLovera
Copy link

Upgrades mongo driver to the newly released V2 version.

Breaks compatibility with any 1.x and lower versions of the mongo driver.

Followed the migration guide that can be found here https://github.com/mongodb/mongo-go-driver/blob/master/docs/migration-2.0.md

@dhui
Copy link
Member

dhui commented Apr 17, 2025

@NickLovera Thanks for the PR! Could you add a new mongo db driver for v2 similar to how there's a pgxv4 and pgxv5 db driver. That way users can choose when to update db drivers.

@nikhilsinghcohesity
Copy link

Hi @NickLovera and maintainers,

Thanks for putting together this upgrade to MongoDB driver v2 — it's an important change for projects looking to support MongoDB 8.0, which requires driver version 2.1 or later.

I noticed the PR has been open for a little while. Just wanted to check in and see if there’s any update on its review or if it’s on the roadmap to be merged soon.

Appreciate all the work you do on this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants